package 预习的;

import java.util.Scanner;

public class Demo替换 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请表达你的情绪：");

        String s = sc.next();


        String s2 = s.replace("妈","*");

        System.out.println(s);
        System.out.println(s2);
    }
}
